package com.kashow.bean.supersearch.users;

import com.kashow.bean.BaseBean;

/**
 * Created by cg on 17/1/4.
 */

public class SearchUsersBean extends BaseBean {


    /**
     * _id : 3
     * __v : 0
     * appopenid : o_O59vxt6L_5g5ah7nXfaggCARh8
     * balance : 0
     * birthday : 1899-11-29T16:00:00.000Z
     * createdAt : 2017-01-03T00:32:47.391Z
     * headimgurl : http://oh2ucnq1s.bkt.clouddn.com/ac252e1342f94ee0b4bc2f63937be322?1080_1920
     * isSub : false
     * isTeacher : true
     * level : 1
     * nickname : 肖举
     * score : 0
     * sex : 2
     * unionid : ojmTMwKhDHt38N8Iwc92VM367d3A
     * wxUserInfo : {"openid":"o_O59vxt6L_5g5ah7nXfaggCARh8","nickname":"liberty","sex":1,"language":"zh_CN","city":"Hangzhou","province":"Zhejiang","country":"CN","headimgurl":"http://wx.qlogo.cn/mmopen/jDUMPcbr8xzibwhdPrslzKoibaiaykuR6nlWa2HhzFEeVS2yq9PhOQGqicEJe42Bhdfz2ibuNUwkVmhCOSntmAAVrC1oOYIsX98RU/0","unionid":"ojmTMwKhDHt38N8Iwc92VM367d3A"}
     * authInfo : {"status":1}
     * id : 3
     * follows : 0
     * followers : 0
     * follow : false
     */

    private int _id;
    private String appopenid;
    private int balance;
    private String birthday;
    private String createdAt;
    private String headimgurl;
    private boolean isSub;
    private boolean isTeacher;
    private int level;
    private String nickname;
    private float score;
    private int sex;
    private String unionid;
    private WxUserInfoEntity wxUserInfo;
    private AuthInfoEntity authInfo;
    private String id;
    private int follows;
    private int followers;
    private boolean follow;

    public void set_id(int _id) {
        this._id = _id;
    }

    public void setAppopenid(String appopenid) {
        this.appopenid = appopenid;
    }

    public void setBalance(int balance) {
        this.balance = balance;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public void setHeadimgurl(String headimgurl) {
        this.headimgurl = headimgurl;
    }

    public void setIsSub(boolean isSub) {
        this.isSub = isSub;
    }

    public void setIsTeacher(boolean isTeacher) {
        this.isTeacher = isTeacher;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public void setScore(float score) {
        this.score = score;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public void setWxUserInfo(WxUserInfoEntity wxUserInfo) {
        this.wxUserInfo = wxUserInfo;
    }

    public void setAuthInfo(AuthInfoEntity authInfo) {
        this.authInfo = authInfo;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setFollows(int follows) {
        this.follows = follows;
    }

    public void setFollowers(int followers) {
        this.followers = followers;
    }

    public void setFollow(boolean follow) {
        this.follow = follow;
    }

    public int get_id() {
        return _id;
    }

    public String getAppopenid() {
        return appopenid;
    }

    public int getBalance() {
        return balance;
    }

    public String getBirthday() {
        return birthday;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public String getHeadimgurl() {
        return headimgurl;
    }

    public boolean getIsSub() {
        return isSub;
    }

    public boolean getIsTeacher() {
        return isTeacher;
    }

    public int getLevel() {
        return level;
    }

    public String getNickname() {
        return nickname;
    }

    public float getScore() {
        return score;
    }

    public int getSex() {
        return sex;
    }

    public String getUnionid() {
        return unionid;
    }

    public WxUserInfoEntity getWxUserInfo() {
        return wxUserInfo;
    }

    public AuthInfoEntity getAuthInfo() {
        return authInfo;
    }

    public String getId() {
        return id;
    }

    public int getFollows() {
        return follows;
    }

    public int getFollowers() {
        return followers;
    }

    public boolean getFollow() {
        return follow;
    }

    public static class WxUserInfoEntity {
        /**
         * openid : o_O59vxt6L_5g5ah7nXfaggCARh8
         * nickname : liberty
         * sex : 1
         * language : zh_CN
         * city : Hangzhou
         * province : Zhejiang
         * country : CN
         * headimgurl : http://wx.qlogo.cn/mmopen/jDUMPcbr8xzibwhdPrslzKoibaiaykuR6nlWa2HhzFEeVS2yq9PhOQGqicEJe42Bhdfz2ibuNUwkVmhCOSntmAAVrC1oOYIsX98RU/0
         * unionid : ojmTMwKhDHt38N8Iwc92VM367d3A
         */

        private String openid;
        private String nickname;
        private int sex;
        private String language;
        private String city;
        private String province;
        private String country;
        private String headimgurl;
        private String unionid;

        public void setOpenid(String openid) {
            this.openid = openid;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public void setLanguage(String language) {
            this.language = language;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public void setCountry(String country) {
            this.country = country;
        }

        public void setHeadimgurl(String headimgurl) {
            this.headimgurl = headimgurl;
        }

        public void setUnionid(String unionid) {
            this.unionid = unionid;
        }

        public String getOpenid() {
            return openid;
        }

        public String getNickname() {
            return nickname;
        }

        public int getSex() {
            return sex;
        }

        public String getLanguage() {
            return language;
        }

        public String getCity() {
            return city;
        }

        public String getProvince() {
            return province;
        }

        public String getCountry() {
            return country;
        }

        public String getHeadimgurl() {
            return headimgurl;
        }

        public String getUnionid() {
            return unionid;
        }
    }

    public static class AuthInfoEntity {
        /**
         * status : 1
         */

        private int status;

        public void setStatus(int status) {
            this.status = status;
        }

        public int getStatus() {
            return status;
        }
    }
}
